home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_emacs.idb / usr / freeware / catman / u_man / cat1 / emacs.Z / emacs
Encoding:
Text File  |  1998-10-28  |  19.0 KB  |  463 lines

  1.  
  2.  
  3.  
  4.      EEEEMMMMAAAACCCCSSSS((((1111))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((1111999999995555 DDDDeeeecccceeeemmmmbbbbeeeerrrr 7777))))          EEEEMMMMAAAACCCCSSSS((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.       emacs    - GNU project Emacs
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.       eeeemmmmaaaaccccssss    [ _c_o_m_m_a_n_d-_l_i_n_e _s_w_i_t_c_h_e_s    ] [ _f_i_l_e_s ... ]
  13.  
  14.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  15.       _G_N_U _E_m_a_c_s is a version of _E_m_a_c_s, written by the author of
  16.       the original (PDP-10)    _E_m_a_c_s, Richard Stallman.
  17.       The primary documentation of GNU Emacs is in the GNU Emacs
  18.       Manual, which    you can    read on    line using Info, a subsystem
  19.       of Emacs.  Please look there for complete and    up-to-date
  20.       documentation.  This man page    is updated only    when someone
  21.       volunteers to    do so; the Emacs maintainers' priority goal is
  22.       to minimize the amount of time this man page takes away from
  23.       other    more useful projects.
  24.       The user functionality of GNU    Emacs encompasses everything
  25.       other    _E_m_a_c_s editors do, and it is easily extensible since
  26.       its editing commands are written in Lisp.
  27.  
  28.       _E_m_a_c_s    has an extensive interactive help facility, but    the
  29.       facility assumes that    you know how to    manipulate _E_m_a_c_s
  30.       windows and buffers.    CTRL-h (backspace or CTRL-h) enters
  31.       the Help facility.  Help Tutorial (CTRL-h t) requests    an
  32.       interactive tutorial which can teach beginners the
  33.       fundamentals of _E_m_a_c_s    in a few minutes.  Help    Apropos
  34.       (CTRL-h a) helps you find a command given its    functionality,
  35.       Help Character (CTRL-h c) describes a    given character's
  36.       effect, and Help Function (CTRL-h f) describes a given Lisp
  37.       function specified by    name.
  38.  
  39.       _E_m_a_c_s'_s Undo can undo    several    steps of modification to your
  40.       buffers, so it is easy to recover from editing mistakes.
  41.  
  42.       _G_N_U _E_m_a_c_s'_s many special packages handle mail    reading
  43.       (RMail) and sending (Mail), outline editing (Outline),
  44.       compiling (Compile), running subshells within    _E_m_a_c_s windows
  45.       (Shell), running a Lisp read-eval-print loop (Lisp-
  46.       Interaction-Mode), and automated psychotherapy (Doctor).
  47.  
  48.       There    is an extensive    reference manual, but users of other
  49.       Emacses should have little trouble adapting even without a
  50.       copy.     Users new to _E_m_a_c_s will be able to use    basic features
  51.       fairly rapidly by studying the tutorial and using the    self-
  52.       documentation    features.
  53.  
  54.       Emacs    Options
  55.  
  56.       The following    options    are of general interest:
  57.  
  58.       _f_i_l_e      Edit _f_i_l_e.
  59.  
  60.  
  61.  
  62.  
  63.      Page 1                         (printed 7/23/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      EEEEMMMMAAAACCCCSSSS((((1111))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((1111999999995555 DDDDeeeecccceeeemmmmbbbbeeeerrrr 7777))))          EEEEMMMMAAAACCCCSSSS((((1111))))
  71.  
  72.  
  73.  
  74.       ++++_n_u_m_b_e_r Go to    the line specified by _n_u_m_b_e_r (do not insert a
  75.           space    between    the "+"    sign and the number).
  76.  
  77.       ----qqqq      Do not load an init file.
  78.  
  79.       ----uuuu _u_s_e_r Load _u_s_e_r'_s init file.
  80.  
  81.       ----tttt _f_i_l_e Use specified    _f_i_l_e as    the terminal instead of    using
  82.           stdin/stdout.     This must be the first    argument
  83.           specified in the command line.
  84.  
  85.       The following    options    are lisp-oriented (these options are
  86.       processed in the order encountered):
  87.  
  88.       ----ffff _f_u_n_c_t_i_o_n
  89.           Execute the lisp function _f_u_n_c_t_i_o_n.
  90.  
  91.       ----llll _f_i_l_e Load the lisp    code in    the file _f_i_l_e.
  92.  
  93.       The following    options    are useful when    running    _E_m_a_c_s as a
  94.       batch    editor:
  95.  
  96.       ----bbbbaaaattttcccchhhh  Edit in batch    mode.  The editor will send messages
  97.           to stderr.  This option must be the first in the
  98.           argument list.  You must use -l and -f options to
  99.           specify files    to execute and functions to call.
  100.  
  101.       ----kkkkiiiillllllll      Exit _E_m_a_c_s while in batch mode.
  102.  
  103.       Using    Emacs with X
  104.  
  105.       _E_m_a_c_s    has been tailored to work well with the    X window
  106.       system.  If you run _E_m_a_c_s from under X windows, it will
  107.       create its own X window to display in.  You will probably
  108.       want to start    the editor as a    background process so that you
  109.       can continue using your original window.
  110.  
  111.       _E_m_a_c_s    can be started with the    following X switches:
  112.  
  113.       ----nnnnaaaammmmeeee    _n_a_m_e
  114.           Specifies the    name which should be assigned to the
  115.           initial _E_m_a_c_s    window.     This controls looking up X
  116.           resources as well as the window title.
  117.  
  118.       ----ttttiiiittttlllleeee _n_a_m_e
  119.           Specifies the    title for the initial X    window.
  120.  
  121.       ----rrrr      Display the _E_m_a_c_s window in reverse video.
  122.  
  123.       ----iiii      Use the "kitchen sink" bitmap    icon when iconifying
  124.           the _E_m_a_c_s window.
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                         (printed 7/23/98)
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.      EEEEMMMMAAAACCCCSSSS((((1111))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((1111999999995555 DDDDeeeecccceeeemmmmbbbbeeeerrrr 7777))))          EEEEMMMMAAAACCCCSSSS((((1111))))
  137.  
  138.  
  139.  
  140.       ----ffffoooonnnntttt    _f_o_n_t, ----ffffnnnn _f_o_n_t
  141.           Set the _E_m_a_c_s    window's font to that specified    by
  142.           _f_o_n_t.    You will find the various _X fonts in the
  143.           /_u_s_r/_l_i_b/_X_1_1/_f_o_n_t_s directory.     Note that _E_m_a_c_s will
  144.           only accept fixed width fonts.  Under    the X11
  145.           Release 4 font-naming    conventions, any font with the
  146.           value    "m" or "c" in the eleventh field of the    font
  147.           name is a fixed width    font.  Furthermore, fonts
  148.           whose    name are of the    form _w_i_d_t_hx_h_e_i_g_h_t are
  149.           generally fixed width, as is the font    _f_i_x_e_d.    See
  150.           _x_l_s_f_o_n_t_s(1) for more information.
  151.  
  152.           When you specify a font, be sure to put a space
  153.           between the switch and the font name.
  154.  
  155.       ----bbbb _p_i_x_e_l_s
  156.           Set the _E_m_a_c_s    window's border    width to the number of
  157.           pixels specified by _p_i_x_e_l_s. Defaults to one pixel on
  158.           each side of the window.
  159.  
  160.       ----iiiibbbb _p_i_x_e_l_s
  161.           Set the window's internal border width to the    number
  162.           of pixels specified by _p_i_x_e_l_s. Defaults to one pixel
  163.           of padding on    each side of the window.
  164.  
  165.       ----ggggeeeeoooommmmeeeettttrrrryyyy _g_e_o_m_e_t_r_y
  166.           Set the _E_m_a_c_s    window's width,    height,    and position
  167.           as specified.     The geometry specification is in the
  168.           standard X format; see _X(1) for more information.
  169.           The width and    height are specified in    characters;
  170.           the default is 80 by 24.
  171.  
  172.       ----ffffgggg _c_o_l_o_r
  173.           On color displays, sets the color of the text.
  174.  
  175.           See the file /_u_s_r/_l_i_b/_X_1_1/_r_g_b._t_x_t for    a list of
  176.           valid    color names.
  177.  
  178.       ----bbbbgggg _c_o_l_o_r
  179.           On color displays, sets the color of the window's
  180.           background.
  181.  
  182.       ----bbbbdddd _c_o_l_o_r
  183.           On color displays, sets the color of the window's
  184.           border.
  185.  
  186.       ----ccccrrrr _c_o_l_o_r
  187.           On color displays, sets the color of the window's
  188.           text cursor.
  189.  
  190.       ----mmmmssss _c_o_l_o_r
  191.           On color displays, sets the color of the window's
  192.  
  193.  
  194.  
  195.      Page 3                         (printed 7/23/98)
  196.  
  197.  
  198.  
  199.  
  200.  
  201.  
  202.      EEEEMMMMAAAACCCCSSSS((((1111))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((1111999999995555 DDDDeeeecccceeeemmmmbbbbeeeerrrr 7777))))          EEEEMMMMAAAACCCCSSSS((((1111))))
  203.  
  204.  
  205.  
  206.           mouse    cursor.
  207.  
  208.       ----dddd _d_i_s_p_l_a_y_n_a_m_e, ----ddddiiiissssppppllllaaaayyyy _d_i_s_p_l_a_y_n_a_m_e
  209.           Create the _E_m_a_c_s window on the display specified by
  210.           _d_i_s_p_l_a_y_n_a_m_e.    Must be    the first option specified in
  211.           the command line.
  212.  
  213.       ----nnnnwwww      Tells    _E_m_a_c_s not to use its special interface to X.
  214.           If you use this switch when invoking _E_m_a_c_s from an
  215.           _x_t_e_r_m(1) window, display is done in that window.
  216.           This must be the first option    specified in the
  217.           command line.
  218.  
  219.       You can set _X    default    values for your    _E_m_a_c_s windows in your
  220.       ._X_r_e_s_o_u_r_c_e_s file (see    _x_r_d_b(1)).  Use the following format:
  221.  
  222.            emacs.keyword:value
  223.  
  224.       where    _v_a_l_u_e specifies    the default value of _k_e_y_w_o_r_d. _E_m_a_c_s
  225.       lets you set default values for the following    keywords:
  226.  
  227.       ffffoooonnnntttt ((((class FFFFoooonnnntttt))))
  228.           Sets the window's text font.
  229.  
  230.       rrrreeeevvvveeeerrrrsssseeeeVVVViiiiddddeeeeoooo ((((class RRRReeeevvvveeeerrrrsssseeeeVVVViiiiddddeeeeoooo))))
  231.           If _r_e_v_e_r_s_e_V_i_d_e_o'_s value is set to _o_n,    the window
  232.           will be displayed in reverse video.
  233.  
  234.       bbbbiiiittttmmmmaaaappppIIIIccccoooonnnn ((((class BBBBiiiittttmmmmaaaappppIIIIccccoooonnnn))))
  235.           If _b_i_t_m_a_p_I_c_o_n'_s value    is set to _o_n, the window will
  236.           iconify into the "kitchen sink."
  237.  
  238.       bbbboooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh ((((class BBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh))))
  239.           Sets the window's border width in pixels.
  240.  
  241.       iiiinnnntttteeeerrrrnnnnaaaallllBBBBoooorrrrddddeeeerrrr ((((class    BBBBoooorrrrddddeeeerrrrWWWWiiiiddddtttthhhh))))
  242.           Sets the window's internal border width in pixels.
  243.  
  244.       ffffoooorrrreeeeggggrrrroooouuuunnnndddd ((((class FFFFoooorrrreeeeggggrrrroooouuuunnnndddd))))
  245.           For color displays, sets the window's    text color.
  246.  
  247.       bbbbaaaacccckkkkggggrrrroooouuuunnnndddd ((((class BBBBaaaacccckkkkggggrrrroooouuuunnnndddd))))
  248.           For color displays, sets the window's    background
  249.           color.
  250.  
  251.       bbbboooorrrrddddeeeerrrrCCCCoooolllloooorrrr ((((class BBBBoooorrrrddddeeeerrrrCCCCoooolllloooorrrr))))
  252.           For color displays, sets the color of    the window's
  253.           border.
  254.  
  255.       ccccuuuurrrrssssoooorrrrCCCCoooolllloooorrrr ((((class FFFFoooorrrreeeeggggrrrroooouuuunnnndddd))))
  256.           For color displays, sets the color of    the window's
  257.           text cursor.
  258.  
  259.  
  260.  
  261.      Page 4                         (printed 7/23/98)
  262.  
  263.  
  264.  
  265.  
  266.  
  267.  
  268.      EEEEMMMMAAAACCCCSSSS((((1111))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((1111999999995555 DDDDeeeecccceeeemmmmbbbbeeeerrrr 7777))))          EEEEMMMMAAAACCCCSSSS((((1111))))
  269.  
  270.  
  271.  
  272.       ppppooooiiiinnnntttteeeerrrrCCCCoooolllloooorrrr ((((class FFFFoooorrrreeeeggggrrrroooouuuunnnndddd))))
  273.           For color displays, sets the color of    the window's
  274.           mouse    cursor.
  275.  
  276.       ggggeeeeoooommmmeeeettttrrrryyyy ((((class GGGGeeeeoooommmmeeeettttrrrryyyy))))
  277.           Sets the geometry of the _E_m_a_c_s window    (as described
  278.           above).
  279.  
  280.       ttttiiiittttlllleeee    ((((class TTTTiiiittttlllleeee))))
  281.           Sets the title of the    _E_m_a_c_s window.
  282.  
  283.       iiiiccccoooonnnnNNNNaaaammmmeeee ((((class TTTTiiiittttlllleeee))))
  284.           Sets the icon    name for the _E_m_a_c_s window icon.
  285.  
  286.       If you try to    set color values while using a black and white
  287.       display, the window's    characteristics    will default as
  288.       follows:  the    foreground color will be set to    black, the
  289.       background color will    be set to white, the border color will
  290.       be set to grey, and the text and mouse cursors will be set
  291.       to black.
  292.  
  293.       Using    the Mouse
  294.  
  295.       The following    lists the mouse    button bindings    for the    _E_m_a_c_s
  296.       window under X11.
  297.  
  298.       MOUSE    BUTTON           FUNCTION
  299.       left               Set point.
  300.       middle           Paste text.
  301.       right               Cut text    into X cut buffer.
  302.       SHIFT-middle           Cut text    into X cut buffer.
  303.       SHIFT-right           Paste text.
  304.       CTRL-middle           Cut text    into X cut buffer and kill it.
  305.       CTRL-right           Select this window, then    split it into
  306.                    two windows.  Same as typing CTRL-x 2.
  307.       CTRL-SHIFT-left      X buffer    menu--hold the buttons and
  308.                    keys down, wait for menu    to appear,
  309.                    select buffer, and release.  Move mouse
  310.                    out of menu and release to cancel.
  311.       CTRL-SHIFT-middle    X help menu--pop    up index card menu for
  312.                    Emacs help.
  313.       CTRL-SHIFT-right     Select window with mouse, and delete
  314.                    all other windows.  Same    as typing
  315.                    CTRL-x 1.
  316.  
  317.      MMMMAAAANNNNUUUUAAAALLLLSSSS
  318.       You can order    printed    copies of the GNU Emacs    Manual from
  319.       the Free Software Foundation,    which develops GNU software.
  320.       See the file ORDERS for ordering information.
  321.       Your local Emacs maintainer might also have copies
  322.       available.  As with all software and publications from FSF,
  323.       everyone is permitted    to make    and distribute copies of the
  324.  
  325.  
  326.  
  327.      Page 5                         (printed 7/23/98)
  328.  
  329.  
  330.  
  331.  
  332.  
  333.  
  334.      EEEEMMMMAAAACCCCSSSS((((1111))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((1111999999995555 DDDDeeeecccceeeemmmmbbbbeeeerrrr 7777))))          EEEEMMMMAAAACCCCSSSS((((1111))))
  335.  
  336.  
  337.  
  338.       Emacs    manual.     The TeX source    to the manual is also included
  339.       in the Emacs source distribution.
  340.  
  341.      FFFFIIIILLLLEEEESSSS
  342.       /usr/local/info - files for the Info documentation browser
  343.       (a subsystem of Emacs) to refer to.  Currently not much of
  344.       Unix is documented here, but the complete text of the    Emacs
  345.       reference manual is included in a convenient tree structured
  346.       form.
  347.  
  348.       /usr/local/share/emacs/$VERSION/src -    C source files and
  349.       object files
  350.  
  351.       /usr/local/share/emacs/$VERSION/lisp - Lisp source files and
  352.       compiled files that define most editing commands.  Some are
  353.       preloaded; others are    autoloaded from    this directory when
  354.       used.
  355.  
  356.       /usr/local/share/emacs/$VERSION/etc -    various    programs that
  357.       are used with    GNU Emacs, and some files of information.
  358.  
  359.       /usr/local/share/emacs/$VERSION/etc/DOC.* - contains the
  360.       documentation    strings    for the    Lisp primitives    and preloaded
  361.       Lisp functions of GNU    Emacs.    They are stored    here to    reduce
  362.       the size of Emacs proper.
  363.  
  364.       /usr/local/share/emacs/$VERSION/etc/OTHER.EMACSES discusses
  365.       GNU Emacs vs.    other versions of Emacs.
  366.       /usr/local/share/emacs/$VERSION/etc/SERVICE lists people
  367.       offering various services to assist users of GNU Emacs,
  368.       including education, troubleshooting,    porting    and
  369.       customization.
  370.       These    files also have    information useful to anyone wishing
  371.       to write programs in the Emacs Lisp extension    language,
  372.       which    has not    yet been fully documented.
  373.  
  374.       /usr/local/com/emacs/lock - holds lock files that are    made
  375.       for all files    being modified in Emacs, to prevent
  376.       simultaneous modification of one file    by two users.
  377.  
  378.       /usr/lib/X11/rgb.txt - list of valid X color names.
  379.  
  380.      BBBBUUUUGGGGSSSS
  381.       There    is a mailing list, bug-gnu-emacs@prep.ai.mit.edu on
  382.       the internet (ucbvax!prep.ai.mit.edu!bug-gnu-emacs on
  383.       UUCPnet), for    reporting Emacs    bugs and fixes.     But before
  384.       reporting something as a bug,    please try to be sure that it
  385.       really is a bug, not a misunderstanding or a deliberate
  386.       feature.  We ask you to read the section ``Reporting Emacs
  387.       Bugs'' near the end of the reference manual (or Info system)
  388.       for hints on how and when to report bugs.  Also, include the
  389.       version number of the    Emacs you are running in _e_v_e_r_y bug
  390.  
  391.  
  392.  
  393.      Page 6                         (printed 7/23/98)
  394.  
  395.  
  396.  
  397.  
  398.  
  399.  
  400.      EEEEMMMMAAAACCCCSSSS((((1111))))          UUUUNNNNIIIIXXXX SSSSyyyysssstttteeeemmmm VVVV ((((1111999999995555 DDDDeeeecccceeeemmmmbbbbeeeerrrr 7777))))          EEEEMMMMAAAACCCCSSSS((((1111))))
  401.  
  402.  
  403.  
  404.       report that you send in.
  405.  
  406.       Do not expect    a personal answer to a bug report.  The
  407.       purpose of reporting bugs is to get them fixed for everyone
  408.       in the next release, if possible.  For personal assistance,
  409.       look in the SERVICE file (see    above) for a list of people
  410.       who offer it.
  411.  
  412.       Please do not    send anything but bug reports to this mailing
  413.       list.     Send requests to be added to mailing lists to the
  414.       special list info-gnu-emacs-request@prep.ai.mit.edu (or the
  415.       corresponding    UUCP address).    For more information about
  416.       Emacs    mailing    lists, see the file
  417.       /usr/local/emacs/etc/MAILINGLISTS.  Bugs tend    actually to be
  418.       fixed    if they    can be isolated, so it is in your interest to
  419.       report them in such a    way that they can be easily
  420.       reproduced.
  421.  
  422.       Bugs that I know about are: shell will not work with
  423.       programs running in Raw mode on some Unix versions.
  424.  
  425.      UUUUNNNNRRRREEEESSSSTTTTRRRRIIIICCCCTTTTIIIIOOOONNNNSSSS
  426.       _E_m_a_c_s    is free; anyone    may redistribute copies    of _E_m_a_c_s to
  427.       anyone under the terms stated    in the _E_m_a_c_s General Public
  428.       License, a copy of which accompanies each copy of _E_m_a_c_s and
  429.       which    also appears in    the reference manual.
  430.  
  431.       Copies of _E_m_a_c_s may sometimes    be received packaged with
  432.       distributions    of Unix    systems, but it    is never included in
  433.       the scope of any license covering those systems.  Such
  434.       inclusion violates the terms on which    distribution is
  435.       permitted.  In fact, the primary purpose of the General
  436.       Public License is to prohibit    anyone from attaching any
  437.       other    restrictions to    redistribution of _E_m_a_c_s.
  438.  
  439.       Richard Stallman encourages you to improve and extend    _E_m_a_c_s,
  440.       and urges that you contribute    your extensions    to the GNU
  441.       library.  Eventually GNU (Gnu's Not Unix) will be a complete
  442.       replacement for Berkeley Unix.  Everyone will    be free    to
  443.       use, copy, study and change the GNU system.
  444.  
  445.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  446.       X(1),    xlsfonts(1), xterm(1), xrdb(1)
  447.  
  448.      AAAAUUUUTTTTHHHHOOOORRRRSSSS
  449.       _E_m_a_c_s    was written by Richard Stallman    and the    Free Software
  450.       Foundation.  Joachim Martillo    and Robert Krawitz added the X
  451.       features.
  452.  
  453.  
  454.  
  455.  
  456.  
  457.  
  458.  
  459.      Page 7                         (printed 7/23/98)
  460.  
  461.  
  462.  
  463.